from django.urls import path, include
from .views import *


urlpatterns = [
    # 商品列表页路由
    path('list/', commodityView.as_view(), name='list'),
    # 商品详情页路由
    path('/detail.<int:id>/', detailView.as_view(), name='detail'),
    # 商品收藏路由
    path('/collect/', collectView.as_view(), name='collect'),
]